package cn.scxy.bookcity.mapper;

import cn.scxy.bookcity.pojo.vo.ActivityListVO;
import cn.scxy.bookcity.pojo.vo.HotSearchListVO;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AdminCilentMapper {
    List<HotSearchListVO> selectHotList();

    HotSearchListVO getHotById(Long id);

    int update(HotSearchListVO goods);

    void deleteHot(Long id);

    void insetHot(HotSearchListVO hotSearchListVO);

    List<ActivityListVO> selectActivitylist();

    ActivityListVO getActivityById(Long id);

    int updateActivity(ActivityListVO goods);

    void updateActivitys(ActivityListVO goods);

    List<ActivityListVO> aschotlist();

    List<ActivityListVO> deshotlist();


    List<ActivityListVO> selectLikehot(String name);
}
